package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 学生上学所在学校
 * </p>
 *
 * @author hpiggy
 * @since 2023-04-26
 */
@TableName("student_at_school")
@ApiModel(value = "StudentAtSchool对象", description = "学生上学所在学校")
@Data
public class StudentAtSchool implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("学生所在学校名")
    private String name;

    private Integer gradeSection;

    @ApiModelProperty("学区所属区域名，如（美兰区）")
    private String regional;

    @ApiModelProperty("1正常，0关闭")
    private Integer status;

    @ApiModelProperty("排序号")
    private Integer sort;

    private Integer deleted;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    @TableField(exist = false)
    private List<StudentAtSchoolScoreDivide> scoreDivideList;
}
